SpreadsheetGear 2023
SetArray(Object[,]) Method


SpreadsheetGear.CustomFunctions Namespace > IValue Interface > SetArray Method : SetArray(Object[,]) Method
The objects to be returned by this custom function. Each object must be a Double, String, SpreadsheetGear.ValueError, Boolean or null, or else the result of the array element will be ValueError.Value.
Sets the result to the specified two dimensional array of values.
Syntax
'Declaration
 
Overloads Sub SetArray( _
   ByVal values(,) As System.Object _
) 
'Usage
 
Dim instance As IValue
Dim values() As System.Object
 
instance.SetArray(values)
void SetArray( 
   System.object[,] values
)

Parameters

values
The objects to be returned by this custom function. Each object must be a Double, String, SpreadsheetGear.ValueError, Boolean or null, or else the result of the array element will be ValueError.Value.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IValue Interface
IValue Members
Overload List
SetArray(Double[,]) Method